package com.foreknow.demo8;

import com.foreknow.demo5.Employee;

public interface EmployeeDao {
    /**
     * 添加员工
     */
    public boolean add(Employee emp);
    /**
     * 根据id查询员工
     */
    public Employee selectid(String id);
    /**
     * 查询所有员工
     */
    public Employee[] all();
    /**
     * 根据id删除员工
     */
    public boolean delete(String id);
}
